#ifndef OBSERVABLE_H
#define OBSERVABLE_H

#include <string>
#include <list>
#include <iostream>

#include "GameMessage.h"

class GameObserver;

class Observable
{
public:

        void notify			(GameMessage data);
        void add_observer	(GameObserver* observer);
        void del_observer	(GameObserver* observer);
	
private:
        std::list<GameObserver*> list_observers;
};

#endif
